﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Farmacia.BussinessLogic.Almacen.PrincActivo;
using Microsoft.Practices.Unity;

namespace Farmacia.net.Compras.PrincActivo
{
    public partial class frmBuscarPrincActivo : BasePage<frmBuscarPrincActivo> //System.Web.UI.Page
    {
        [Dependency]
        public IPrincipioActivoBL PrincipioActivoBL {get; set;}

        protected void Page_Load(object sender, EventArgs e)
        {


        }

        protected void odsPrincActivo_ObjectCreating(object sender, ObjectDataSourceEventArgs e)
        {
            e.ObjectInstance = PrincipioActivoBL;
        }

        protected void odsPrincActivo_Updated(object sender, ObjectDataSourceStatusEventArgs e)
        {
            //Response.Redirect(frmBuscarPrincActivo.aspx);
        }
    }
}